package com.ruoyi.integration.mqtt.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description : mqtt读取配置文件数据
 * @Author : Bruce Lee
 * @CreateTime : 2025/2/17
 */

@Component
@ConfigurationProperties(prefix = "mqtt")
@Data
public class MqttProfile {

    private String host;

    private int qos;

    private String clientId;

    private int timeout;

    private int keepalive;

}
